
var express = require('express');
var router = express.Router();
var routerConfig = require('./routerConfig.js');

routerConfig.forEach((options,index)=>{
    router[options.type](options.url,require(options.path));
});

module.exports = router;








